﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Hotel.Models.Entity
{
    public class StaffAdvance
    {
        private int _pkStaffAdvanceID;
        private Staff _staff;
        private double _noAdvance;
        private string _reasonAdvance;
        private DateTime _dateAdvance;

        public StaffAdvance()
        {
            _pkStaffAdvanceID = 0;
            _staff = new Staff();
            _noAdvance = 0;
            _reasonAdvance = string.Empty;
            _dateAdvance = DateTime.MinValue;
        }

        public int PkStaffAdvanceId
        {
            get { return _pkStaffAdvanceID; }
            set { _pkStaffAdvanceID = value; }
        }

        public Staff Staff
        {
            get { return _staff; }
            set { _staff = value; }
        }

        public double NoAdvance
        {
            get { return _noAdvance; }
            set { _noAdvance = value; }
        }

        public string ReasonAdvance
        {
            get { return _reasonAdvance; }
            set { _reasonAdvance = value; }
        }

        public DateTime DateAdvance
        {
            get { return _dateAdvance; }
            set { _dateAdvance = value; }
        }
    }
}